package com.yubest.junit.thread;

import lombok.extern.slf4j.Slf4j;

import java.util.concurrent.Callable;

/**
 * 线程
 *
 * @Author: hweiyu
 * @Date: 2022/11/15 14:58
 */
@Slf4j
public class MyCallable implements Callable<String> {

    @Override
    public String call() throws Exception {
        log.info("MyCallable 执行");
        return "ok";
    }
}
